package cn.wolfcode.luowowo.test.domain;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@ApiModel(value = "用户", description = "平台注册用户模型")
@Setter
@Getter
public class User {

    @ApiModelProperty(value = "用户名", name = "username", dataType = "String", required = true)
    private String username;
    @ApiModelProperty(value = "年龄", name = "age", dataType = "int", required = true)
    private int age;
    @ApiModelProperty(value = "爱好", name = "hobby", dataType = "String", required = true)
    private String hobby;
}
